package com.Service;

import com.pojo.User;

import java.util.List;

public interface UserService {
    User login(String username, String password);

    void register(User user);
    List<User> findAll();
    void disable(Long id);

    boolean exit(String username);
}
